package com.huatai.datadevelop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "静态数据集开放实体类",description = "静态数据集开放实体类")
@Data
@TableName("table_sql_config")
public class InterfaceTableConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty("静态数据集开放id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 接口名称
     */
	@ApiModelProperty("接口名称")
    private String interfaceName = "";

    /**
     * 表id
     */
	@ApiModelProperty("表id")
    private String tableId;

    /**
     * sql语句
     */
	@ApiModelProperty("sql语句")
    private String sqlStr = "";

    /**
     * 中文名称
     */
	@ApiModelProperty("中文名称")
    private String name = "";

    /**
     * 需要查询的字段
     */
	@ApiModelProperty("需要查询的字段")
    private String field = "";

    /**
     * 备注
     */
	@ApiModelProperty("备注")
    private String note = "";
}
